package com.heima.model.user.dtos;

import com.heima.model.common.dtos.PageRequestDto;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * @Description: BrandTypeDto
 * @Version: V1.0
 */
@Data
@ApiModel("BrandTypeDto")
public class BrandTypeDto extends PageRequestDto {

        @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
	private Long id; //id



        @ApiModelProperty("品牌id")
    @TableField("brand_id")
	private Long brandId;//品牌id

    @ApiModelProperty("子品牌名称")
    @TableField("name")
	private String name;//子品牌名称

    @ApiModelProperty("级别")
    @TableField("level")
	private Integer level;//级别

    @ApiModelProperty("是否默认")
    @TableField("is_detail")
	private String isDetail;//是否默认

    @ApiModelProperty("上级id")
    @TableField("parent_id")
	private Long parentId;//上级id

    @ApiModelProperty("年款")
    @TableField("annual")
	private String annual;//年款

    @ApiModelProperty("排量")
    @TableField("displacement")
	private String displacement;//排量


}
